﻿using HalconDotNet;
using NLog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LeaderCCSLaserUI.Models.VisionModels
{
    public class FunctionBase
    {
        public static Logger logger = LogManager.GetCurrentClassLogger();
        /// <summary>
        /// 执行函数
        /// </summary>
        /// <param name="ho_Image">图像</param>
        /// <param name="paramJson">JSON格式的传入参数</param>
        /// <param name="hv_Row">识别位置Row</param>
        /// <param name="hv_Column">识别位置Column</param>
        /// <param name="hv_Angle">识别位置Angle</param>
        /// <param name="hv_Score">识别位置Score</param>
        /// <param name="maxRegion">NG的区域</param>
        /// <param name="ho_SelectedRegion">识别的region</param>
        /// <returns></returns>
        public virtual bool Run(ref HObject ho_Image, string paramJson, ref HTuple hv_Row, ref HTuple hv_Column, ref HTuple hv_Angle, ref HTuple hv_Score, ref HObject maxRegion, ref HObject ho_SelectedRegion,
            ref HTuple v1,ref HTuple v2)
        {
            return true;
        }
    }
}
